package GUIStudy.Basis.JLabel;

import javax.swing.*;

public class Basis2 {
    public static void main(String[] args) {
        JFrame frame = new JFrame("test");
        ImageIcon icon = new ImageIcon("git-container-java/src/GUIStudy/Basis/JLabel/SuiCat.jpg");
        JLabel label = new JLabel(icon);
        frame.add(label);
        frame.setAlwaysOnTop(true);
        frame.setSize(500,500);
        frame.setDefaultCloseOperation(3);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
    }
}
